<script>
	import {
		mapState,
		mapActions
	} from 'vuex'
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {

			console.log('App Show')
			// console.log(this.token,this.userCode,this.userName,this.userPhoto);

		},
		onHide: function() {
			console.log('App Hide')
		},
		computed: {
			...mapState(['token', 'userCode','userName','userPhoto'])
		},
		methods: {
			...mapActions(['reLogin', 'getToken', 'hasLogin']),
		}
	}
</script>
<!-- /* App.vue */ -->
<style lang="scss">
	@import "uview-ui/index.scss";
</style>
<style>
	* {
		font-family: serif;
	}


	view,
	scroll-view,
	swiper,
	swiper-item,
	cover-view,
	cover-image,
	icon,
	text,
	rich-text,
	progress,
	button,
	checkbox,
	form,
	input,
	label,
	radio,
	slider,
	switch,
	textarea,
	navigator,
	audio,
	camera,
	image,
	video {
		box-sizing: border-box;
		font-family: serif;
	}
</style>
